/**
 * Created by zhangwenlei on 2017/5/16.
 */
var express = require('express');
var path=require('path');
var router = express.Router();
var fs=require('fs');

router.get('/',function (req,res) {
   fs.readFile(path.join(__dirname,'..','..','mvc-new','bundles','bundle','model','test.json'),function (err,data) {
       if(err){
           res.end(err);
       }else{
           res.end(data);
       }
   });
});

module.exports = router;